package com.mvp.shq.washer.ui.feendBack;

import com.mvp.shq.washer.base.BaseModel;
import com.mvp.shq.washer.base.BasePresenter;
import com.mvp.shq.washer.base.BaseView;
import com.mvp.shq.washer.entity.result.BaseResult;

import java.io.File;
import java.util.List;
import java.util.Map;

import io.reactivex.Observable;
import okhttp3.RequestBody;

/**
 * Created by Administrator on 2017/9/4.
 */

public interface FeedBackConstract {
    interface Model extends BaseModel{
        Observable<BaseResult<String>> feedBack(String token, String userId, String message, Map<String, RequestBody> photos);
    }
    interface View extends BaseView{
        void feedBackS();
        void feedBackF(String msg);
    }
    public abstract class Presenter extends BasePresenter<Model,View>{
        abstract void feedBack(String message,List<File> files);
    }
}
